using UnityEngine;
using UnityEngine.UI;
using EnhancedUI.EnhancedScroller;
namespace EnhancedScrollerDemos.SuperSimpleDemo
{
///
/// This is the view of our cell which handles how the cell looks.
///
public class CellView : EnhancedScrollerCellView
{
///
/// A reference to the UI Text element to display the cell data
///
public Text someTextText;
///
/// This function just takes the Demo data and displays it
///
///
public void SetData(Data data)
{
// update the UI text with the cell data
someTextText.text = data.someText;
}
}
}